﻿using System;
using System.Collections.Generic;
using System.Text;
using Watchdog.Bll.Base;
using Watchdog.Bll.Factory;

namespace Watchdog.Bll {

    public partial class TestTargetStatus : TestTargetStatusBase {

        internal TestTargetStatus () : base () {}
		
		#region [ Parent objects ]

		private TestStatus teststatus;
		public new TestStatus TestStatus {
			get {
				if ( teststatus == null )
                    teststatus = TestStatusFactory.GetByTest ( base.TestStatus );
				return teststatus;
			}
			set { 
				teststatus = value;
                base.TestStatus = value.Test;
			}
		}

		#endregion

		#region [ Many to many relations ]

		#endregion

		#region [ Add & Remove methods for many to many relations ]

		#endregion
		
		#region [ One to many relations ]

		#endregion
		
		#region [ Add & Remove methods for one to many relations ]

		#endregion

    }
}
